__author__ = 'skynet'
from Manager.settings import connectMongo

def getDB(name):
    return connectMongo[name]

def getCollection(name, db):
    return db[name]